﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectNocturnalFool
{
    class GenderButton : ButtonControl
    {
        protected Gender _gender;
        public Gender gender
        {
            get { return _gender; }
            set
            {
                _gender = value;
                message = value.Description();
            }
        }

        public override void LoadContent()
        {
            base.LoadContent();
            type = Button_Type.GenderButton;
        }

        public override void HandleClick()
        {
            if (active)
            {
                GameLogic.Instance.gameCharacterSession.editCharacter.gender = gender;
                updateStatus.Add(Tuple.Create(typeof(Button_Type).Name, (int)type, 0));
            }
        }

    }
}
